#ifndef LOCALPHOTOPLAYER_H
#define LOCALPHOTOPLAYER_H

#include "player.h"
#include <QLabel>

class LocalPhotoPlayer : public QLabel, public Player
{
public:
	static const QString PhotoFilePathName;
	LocalPhotoPlayer();

	PlayerType type() const;
	void dispose();
	bool playOn(const ValuePacket &values, QWidget *target, QString *errorStr);
	void hideMe();
	void showMe();
protected:
	void resizeEvent(QResizeEvent *);
private:
	QString m_PhotoFilePath;
};

#endif // LOCALPHOTOPLAYER_H
